$.ajax({
    url:'/employee/checkRootLogin',
    dataType:'json',
    success:info=>{
        // console.log(info);
        if(info.error == 400) {
            
            location.href='login.html'
        }
    }
})